/*12/14/09 19:02
*
*Cha Li
*CS4804 - Final Project
*Developed in Ubuntu 9.04 x64
*Compiled using g++
*
*/

#include <iostream>
using namespace std;

class Square{
private:
	void setEdges(int,int, int);
public:
	int *edge_arr; //[0] = left, [1] = right, [2] = top, [3] = bottom
	int index;
	int edges_filled;	
	//imaginary index values that represent position in a 2d array
	int i_row;
	int i_col;
	
	Square();
	bool initSquare(int, int, int, int);
	int getWorth(int);
	bool containsEdge(int);
	int calcFilled(int);
};

ostream& operator<< (ostream&, Square);

